html,
body {
  height: 100%;
  width: 100%;
  overflow: visible;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
  font-size: 14px;
}
body {
  background: #ffffff;
}

/* 常用 flex */
.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}
.flex-justify-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.flex-align-center {
  display: flex;
  align-items: center;
}

/* 移动端的时候由于屏幕变小隐藏头部导航栏 */
@media screen and (max-width: 540px) {
  .app-breadcrumb {
    display: none !important;
  }
}

/** 设置滚动条 **/
::-webkit-scrollbar {
  width: 7px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background-color: rgb(0 0 0 / 5%);
}

::-webkit-scrollbar-thumb {
  // background: rgba(0, 0, 0, 0.6);
  background-color: rgb(144 147 153 / 30%);
  // background-color: rgba(144, 147, 153, 0.3);
  border-radius: 2px;
  box-shadow: inset 0 0 6px rgb(0 0 0 / 20%);
}

/* nprogress样式 */
#nprogress .bar {
  background: $primaryColor !important;
}
#nprogress .spinner-icon {
  border-top-color: $primaryColor !important;
  border-left-color: $primaryColor !important;
}
#nprogress .peg {
  box-shadow: 0 0 10px $primaryColor, 0 0 5px $primaryColor !important;
}

.app-container {
  height: 100%;
  width: 100%;
  padding: 25px 20px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
}
.app-container-inner {
  height: 100%;
  width: 100%;
  box-shadow: 0 2px 12px 0 rgb(0 0 0 / 10%);
  background-color: white;
  padding: 20px;
  box-sizing: border-box;
}

.layout-horizontal {
  .header-icon {
    color: #bfcbd9 !important;
  }
  .el-dropdown-link {
    color: #bfcbd9 !important;
  }
}

.el-pager li:focus {
  border: none;
}
.el-dropdown:focus {
  border: none;
  outline: none !important;
}
.svg-icon:focus {
  border: none !important;
  outline: none !important;
}

.filter-container {
  // .filter-item {
  //   display: inline-block;
  //   vertical-align: middle;
  // }
}
.filter-content {
  display: flex;
  gap: 16px;
  margin: 0 20px;
}
.dialog-item {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px; /* 添加间距 */
}
.dialog-alert {
  padding: 4px 16px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  font-size: 13px;
  color: #6c757d;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  .el-icon {
    color: #6c757d;
    font-size: 14px;
  }
}
.dialog-font {
  width: 100%;
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 20px;
}
